home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2004 April / Gamestar_61_2004-04_dvdb.iso / DVDStar / Editace / hltp.exe / {app} / Source Code / Textures SDK / common / trilib.h < prev    next >
Text File  |  1998-12-02  |  496b  |  22 lines

  1. /***
  2. *
  3. *    Copyright (c) 1998, Valve LLC. All rights reserved.
  4. *    
  5. *    This product contains software technology licensed from Id 
  6. *    Software, Inc. ("Id Technology").  Id Technology (c) 1996 Id Software, Inc. 
  7. *    All Rights Reserved.
  8. *
  9. ****/
  10.  
  11. //
  12. // trilib.h: header file for loading triangles from an Alias triangle file
  13. //
  14. #define MAXTRIANGLES    2048
  15.  
  16. typedef struct {
  17.     vec3_t    verts[3];
  18. } triangle_t;
  19.  
  20. void LoadTriangleList (char *filename, triangle_t **pptri, int *numtriangles);
  21.  
  22.